package com.mybatis.dao.config;

public class FactoryConfig {

	private static final String JDBC_DRIVERCLASS = "com.mysql.cj.jdbc.Driver";
	private static final String TYPEHANDLER_PACKAGE = "com.mybatis.dao.typehandler";
	private static final String MYBATIS_CONFIG = "/mybatisMapper/mybatis-config.xml";
	private static final String MAPPER_PATH = "/mybatisMapper/mapper/**.xml";  
	
	private String jdbcDriverClass = JDBC_DRIVERCLASS;
	private String jdbcUrl;
	private String jdbcUsername;
	private String jdbcPassword;

	/**扫描实体映射**/
	private String typeAliasPackage;
	/**枚举映射**/
	private String scanEnumPackage;
	/**自定义转换类型**/
	private String typeHandlersPackage = TYPEHANDLER_PACKAGE;
	/**mybatis - config xml配置文件**/
	private String mybatisConfigXml = MYBATIS_CONFIG;
	/**自定义的sql配置文件，/mybatisMapper/mapper/**.xml**/
	private String mapperXml = MAPPER_PATH;
	
	public String getJdbcDriverClass() {
		return jdbcDriverClass;
	}

	public void setJdbcDriverClass(String jdbcDriverClass) {
		this.jdbcDriverClass = jdbcDriverClass;
	}

	public String getJdbcUrl() {
		return jdbcUrl;
	}

	public void setJdbcUrl(String jdbcUrl) {
		this.jdbcUrl = jdbcUrl;
	}

	public String getJdbcUsername() {
		return jdbcUsername;
	}

	public void setJdbcUsername(String jdbcUsername) {
		this.jdbcUsername = jdbcUsername;
	}

	public String getJdbcPassword() {
		return jdbcPassword;
	}

	public void setJdbcPassword(String jdbcPassword) {
		this.jdbcPassword = jdbcPassword;
	}

	public String getTypeAliasPackage() {
		return typeAliasPackage;
	}

	public void setTypeAliasPackage(String typeAliasPackage) {
		this.typeAliasPackage = typeAliasPackage;
	}

	public String getScanEnumPackage() {
		return scanEnumPackage;
	}

	public void setScanEnumPackage(String scanEnumPackage) {
		this.scanEnumPackage = scanEnumPackage;
	}

	public String getTypeHandlersPackage() {
		return typeHandlersPackage;
	}

	public void setTypeHandlersPackage(String typeHandlersPackage) {
		this.typeHandlersPackage = typeHandlersPackage;
	}

	public String getMybatisConfigXml() {
		return mybatisConfigXml;
	}

	public void setMybatisConfigXml(String mybatisConfigXml) {
		this.mybatisConfigXml = mybatisConfigXml;
	}

	public String getMapperXml() {
		return mapperXml;
	}

	public void setMapperXml(String mapperXml) {
		this.mapperXml = mapperXml;
	}

}
